package com.dms.modules.user.vo;

import com.dms.modules.user.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("登录响应")
public class LoginResponse {
    
    @ApiModelProperty("访问令牌")
    private String token;
    
    @ApiModelProperty("用户信息")
    private User user;
    
    public LoginResponse() {
    }
    
    public LoginResponse(String token, User user) {
        this.token = token;
        this.user = user;
    }
} 